package com.tchy.cloud.entity;

import javax.persistence.*;

import java.util.Date;

import static javax.persistence.GenerationType.IDENTITY;

/**
 * Created by xiaoji on 2017/2/20.
 */
@Entity
@Table(name = "g_article_rule", schema = "", catalog = "")
public class GArticleRuleEntity {
    private Long id;
    private String content;
    private String intro;
    private String consumerId;
    private String title;
    private String consumerName;
    private String articleType;
    private String source;
    private String sourceAvatar;
    private String sourceUrl;
    private String writeTime;
    private String format;
    private String articleThumb;
    private String articleImg;
    private String originalImg;
    private String pic1;
    private String pic2;
    private String pic3;
    private String keyword;
    private String factorArea;
    private String factorAge;
    private String factorSex;
    private String factorIncome;
    private String factorColumn;
    private String factorSystem;
    private String factorDevice;
    private Date createTime;
    private String typeTemp;
    private String pathTemp;
    private String altTemp;
    private String sourceUrlTemp;

    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "content")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Basic
    @Column(name = "intro")
    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    @Basic
    @Column(name = "consumer_id")
    public String getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(String consumerId) {
        this.consumerId = consumerId;
    }

    @Basic
    @Column(name = "title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Basic
    @Column(name = "consumer_name")
    public String getConsumerName() {
        return consumerName;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    @Basic
    @Column(name = "article_type")
    public String getArticleType() {
        return articleType;
    }

    public void setArticleType(String articleType) {
        this.articleType = articleType;
    }

    @Basic
    @Column(name = "source")
    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    @Basic
    @Column(name = "source_avatar")
    public String getSourceAvatar() {
        return sourceAvatar;
    }

    public void setSourceAvatar(String sourceAvatar) {
        this.sourceAvatar = sourceAvatar;
    }

    @Basic
    @Column(name = "source_url")
    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    @Basic
    @Column(name = "write_time")
    public String getWriteTime() {
        return writeTime;
    }

    public void setWriteTime(String writeTime) {
        this.writeTime = writeTime;
    }

    @Basic
    @Column(name = "format")
    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    @Basic
    @Column(name = "article_thumb")
    public String getArticleThumb() {
        return articleThumb;
    }

    public void setArticleThumb(String articleThumb) {
        this.articleThumb = articleThumb;
    }

    @Basic
    @Column(name = "article_img")
    public String getArticleImg() {
        return articleImg;
    }

    public void setArticleImg(String articleImg) {
        this.articleImg = articleImg;
    }

    @Basic
    @Column(name = "original_img")
    public String getOriginalImg() {
        return originalImg;
    }

    public void setOriginalImg(String originalImg) {
        this.originalImg = originalImg;
    }

    @Basic
    @Column(name = "pic1")
    public String getPic1() {
        return pic1;
    }

    public void setPic1(String pic1) {
        this.pic1 = pic1;
    }

    @Basic
    @Column(name = "pic2")
    public String getPic2() {
        return pic2;
    }

    public void setPic2(String pic2) {
        this.pic2 = pic2;
    }

    @Basic
    @Column(name = "pic3")
    public String getPic3() {
        return pic3;
    }

    public void setPic3(String pic3) {
        this.pic3 = pic3;
    }

    @Basic
    @Column(name = "keyword")
    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Basic
    @Column(name = "factor_area")
    public String getFactorArea() {
        return factorArea;
    }

    public void setFactorArea(String factorArea) {
        this.factorArea = factorArea;
    }

    @Basic
    @Column(name = "factor_age")
    public String getFactorAge() {
        return factorAge;
    }

    public void setFactorAge(String factorAge) {
        this.factorAge = factorAge;
    }

    @Basic
    @Column(name = "factor_sex")
    public String getFactorSex() {
        return factorSex;
    }

    public void setFactorSex(String factorSex) {
        this.factorSex = factorSex;
    }

    @Basic
    @Column(name = "factor_income")
    public String getFactorIncome() {
        return factorIncome;
    }

    public void setFactorIncome(String factorIncome) {
        this.factorIncome = factorIncome;
    }

    @Basic
    @Column(name = "factor_column")
    public String getFactorColumn() {
        return factorColumn;
    }

    public void setFactorColumn(String factorColumn) {
        this.factorColumn = factorColumn;
    }

    @Basic
    @Column(name = "factor_system")
    public String getFactorSystem() {
        return factorSystem;
    }

    public void setFactorSystem(String factorSystem) {
        this.factorSystem = factorSystem;
    }

    @Basic
    @Column(name = "factor_device")
    public String getFactorDevice() {
        return factorDevice;
    }

    public void setFactorDevice(String factorDevice) {
        this.factorDevice = factorDevice;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "type_temp")
    public String getTypeTemp() {
        return typeTemp;
    }

    public void setTypeTemp(String typeTemp) {
        this.typeTemp = typeTemp;
    }

    @Basic
    @Column(name = "path_temp")
    public String getPathTemp() {
        return pathTemp;
    }

    public void setPathTemp(String pathTemp) {
        this.pathTemp = pathTemp;
    }

    @Basic
    @Column(name = "alt_temp")
    public String getAltTemp() {
        return altTemp;
    }

    public void setAltTemp(String altTemp) {
        this.altTemp = altTemp;
    }

    @Basic
    @Column(name = "source_url_temp")
    public String getSourceUrlTemp() {
        return sourceUrlTemp;
    }

    public void setSourceUrlTemp(String sourceUrlTemp) {
        this.sourceUrlTemp = sourceUrlTemp;
    }

}
